package hoang.hut.toastdemo;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;

public class MainActivity extends Activity {

	Crouton crouton;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
	}

	public void show(View view){
		//showCrouton(getString(R.string.warning_duration), Style.ALERT, Configuration.DEFAULT);
		Crouton.makeText(this, "Heellokdalkfj", Style.INFO).show();
//		LayoutInflater layoutInflater = (LayoutInflater)getSystemService(Context.LAYOUT_INFLATER_SERVICE);
//		View v = layoutInflater.inflate(R.layout.layout_toast, null);
//		crouton.make(this, v).show();
	}

}
